{extends file="../global.html"}
{block name=body}
<form class="layui-form" action="{url('run/Configure/')}" method="post" enctype="multipart/form-data">
   <div class="layui-form-item">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-block">
      <input type="text" name="" required  lay-verify="required" value="" autocomplete="off" class="layui-input" disabled>
    </div>

  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">真实姓名</label>
    <div class="layui-input-block">
      <input type="text" name="user_name" required  lay-verify="required" placeholder="请输入真实姓名" autocomplete="off" class="layui-input">
    </div>

  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">所在地</label>
    <div class="layui-input-block">
      <input type="text" name="user_address" required  lay-verify="required" placeholder="请输入所在地" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">年龄</label>
    <div class="layui-input-block">
      <input type="text" name="user_age" required  lay-verify="required" placeholder="请输入年龄" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">性别</label>
    <div class="layui-input-block">
      <input type="text" name="user_sex" required  lay-verify="required" placeholder="请输入性别" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
 
<script>
//Demo
layui.use('form', function(){
  var form = layui.form();
  
  //监听提交
  form.on('submit(formDemo)', function(data){
    layer.msg(JSON.stringify(data.field));
    return false;
  });
});
</script>

{/block}
 
